Optimal. Leaf size=24 \[ \frac {2 E\left (\left .\frac {1}{2} \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2639} \[ \frac {2 E\left (\left .\frac {1}{2} \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2639
Rubi steps
\begin {align*} \int \frac {\sqrt {\cos \left (a+b \log \left (c x^n\right )\right )}}{x} \, dx &=\frac {\operatorname {Subst}\left (\int \sqrt {\cos (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac {2 E\left (\left .\frac {1}{2} \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 24, normalized size = 1.00 \[ \frac {2 E\left (\left .\frac {1}{2} \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.51, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {\cos \left (b \log \left (c x^{n}\right ) + a\right )}}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\cos \left (b \log \left (c x^{n}\right ) + a\right )}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.08, size = 181, normalized size = 7.54 \[ \frac {2 \sqrt {\left (2 \left (\cos ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )-1\right ) \left (\sin ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )}\, \sqrt {\frac {1}{2}-\frac {\cos \left (a +b \ln \left (c \,x^{n}\right )\right )}{2}}\, \sqrt {-2 \left (\cos ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )+1}\, \EllipticE \left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )}{n \sqrt {-2 \left (\sin ^{4}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )+\sin ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}\, \sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) \sqrt {2 \left (\cos ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )-1}\, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\cos \left (b \log \left (c x^{n}\right ) + a\right )}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.37, size = 23, normalized size = 0.96 \[ \frac {2\,\mathrm {E}\left (\frac {a}{2}+\frac {b\,\ln \left (c\,x^n\right )}{2}\middle |2\right )}{b\,n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\cos {\left (a + b \log {\left (c x^{n} \right )} \right )}}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________